home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / Communications Toolbox / CommToolbox 1.1 / Interfaces / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1994-11-21  |  1.7 KB  |  91 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;    Contains:    Assembler Interface to the Terminal Manager Tools
  4. ;    
  5. ;    Copyright © Apple Computer, Inc. 1988-1991
  6. ;    All rights reserved
  7. ;
  8.  
  9.     IF &TYPE('__INCLUDINGTERMINALTOOLS__') = 'UNDEFINED' THEN
  10. __INCLUDINGTERMINALTOOLS__    SET    1
  11.  
  12. tdefType            EQU        'tdef'
  13. tvalType            EQU        'tval'
  14. tsetType            EQU        'tset'
  15. tlocType            EQU        'tloc'
  16. tscrType            EQU        'tscr'
  17. tbndType            EQU        'tbnd'    
  18. tverType            EQU        'tver'
  19.  
  20. ; messages 
  21. tmInitMsg             EQU     0
  22. tmDisposeMsg         EQU     1
  23. tmSuspendMsg        EQU     2
  24. tmResumeMsg            EQU     3
  25. tmMenuMsg            EQU        4
  26. tmEventMsg            EQU        5
  27. tmActivateMsg        EQU     6
  28. tmDeactivateMsg        EQU     7
  29. tmGetErrorStringMsg    EQU     8
  30.  
  31. tmIdleMsg            EQU        50
  32. tmResetMsg            EQU        51
  33.  
  34. tmKeyMsg            EQU     100
  35. tmStreamMsg            EQU     101
  36. tmResizeMsg            EQU     102
  37. tmUpdateMsg            EQU        103
  38. tmClickMsg            EQU        104
  39. tmGetSelectionMsg    EQU        105
  40. tmSetSelectionMsg    EQU        106
  41. tmScrollMsg            EQU        107
  42. tmClearMsg            EQU        108
  43. tmGetLineMsg        EQU        109
  44. tmPaintMsg            EQU        110
  45. tmCursorMsg            EQU        111
  46. tmGetEnvironsMsg    EQU        112
  47. tmDoTermKeyMsg        EQU        113
  48. tmCountTermKeysMsg    EQU        114
  49. tmGetIndTermKeyMsg    EQU        115
  50.  
  51. ;    messages for validate DefProc                
  52.  
  53. tmValidateMsg        EQU        0
  54. tmDefaultMsg        EQU        1
  55.  
  56. ;    messages for Setup DefProc                
  57.  
  58. tmSpreflightMsg        EQU        0
  59. tmSsetupMsg            EQU        1
  60. tmSitemMsg            EQU        2
  61. tmSfilterMsg        EQU        3
  62. tmScleanupMsg        EQU        4
  63.  
  64. ;    messages for scripting defProc             
  65. tmMGetMsg            EQU        0
  66. tmMSetMsg            EQU        1
  67.  
  68. ;    messages for localization defProc        
  69.  
  70. tmL2English            EQU        0
  71. tmL2Intl            EQU        1
  72.  
  73.  
  74. TMSearchBlock        Record    0
  75. theString            ds.l    1
  76. where                ds.l    2
  77. searchType            ds.w    1
  78. callBack            ds.l    1
  79. refnum                ds.w    1
  80. next                ds.l    1
  81.                     EndR
  82.     
  83. TMSetupStruct        Record    0
  84. theDialog            ds.l    1
  85. count                ds.w    1
  86. theConfig            ds.l    1
  87. procID                ds.w    1
  88. TMSetupStructSize    EQU    *
  89.                     EndR
  90.  
  91.     ENDIF            ; already included